import java.util.*;

public class Gambler extends Account{
	@Override
	public void withdraw(double amount){
		Random random = new Random();
		int r = random.nextInt(100);
		
		if(r >= 49){
			super.withdraw(amount * 2);
		}else super.withdraw(0);
	}
	
	public double endMonthCharge(){
		return 0.0;
	}
}
